ContentEgg\application\components\ai\ProductPrompt B

Total Complexity 83
Dependencies 3
Dependents 1
Total lines 438
Lines of code 297
Logical lines of code 202
Comment lines 0
Methods 43
Properties 2

Methods 43

Method Rating Maintainability Complexity Lines of code
prepareParams()
A
45 14 39
bulletPointsCompactProductDescription()
S
61 5 12
writeArticleProductDescription()
S
58 4 15
bulletPointsProductDescription()
S
62 4 11
writeReviewProductDescription()
S
56 3 18
writeHowToUseProductDescription()
S
62 3 11
writeBuyersGuideProductDescription()
S
63 3 10
ctaTextProductDescription()
S
66 2 8
rewriteProductDescription()
S
66 2 8
paraphraseProductDescription()
S
66 2 8
translateProductDescription()
S
68 2 7
summarizeProductDescription()
S
66 2 8
customPromptTitle()
S
70 2 6
turnIntoAdvertisingProductDescription()
S
66 2 8
craftProductDescription()
S
68 2 7
writeParagraphsProductDescription()
S
70 2 6
customPromptDescription()
S
72 2 5
customPromptReview()
S
67 2 7
customPromptDescription2()
S
80 1 3
customPromptTitle3()
S
80 1 3
customPromptTitle4()
S
80 1 3
customPromptDescription3()
S
80 1 3
customPromptReview3()
S
79 1 3
customPromptDescription1()
S
80 1 3
customPromptReview2()
S
79 1 3
customPromptReview4()
S
79 1 3
customPromptReview1()
S
79 1 3
customPromptTitle2()
S
80 1 3
setProduct()
S
81 1 3
customPromptTitle1()
S
80 1 3
translateReview()
S
70 1 6
rewriteReview()
S
67 1 8
rephraseReview()
S
67 1 8
setProductNew()
S
81 1 3
generateSubtitlePerfectFor()
S
73 1 5
generateHowToUseTitle()
S
76 1 4
generateReviewProductTitle()
S
76 1 4
generateGuideProductTitle()
S
68 1 7
generateQuestionProductTitle()
S
68 1 7
shortenProductTitle()
S
76 1 4
translateProductTitle()
S
76 1 4
rephraseProductTitle()
S
76 1 4
customPromptDescription4()
S
80 1 3